home *** CD-ROM | disk | FTP | other *** search
/ The 640 MEG Shareware Studio 2 / The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO / clang / cxe103.zip / MAKECXF.CMD < prev    next >
OS/2 REXX Batch file  |  1992-08-03  |  1KB  |  33 lines

  1. @echo off
  2. del cxf.exe
  3. if "%1" == "mc" goto :MC
  4. if "%1" == "mcdll" goto :MCDLL
  5.  
  6. :usage
  7. echo ------------------------------------------------------------------
  8. echo This batch file creates cxf.exe for a several different compilers
  9. echo and evironments.  Run this batch file again after choosing a
  10. echo compiler from the list below.
  11. echo ------------------------------------------------------------------
  12. echo makecxf mc    -  Microsoft C     OS/2     -  using CX.OBJ
  13. echo makecxf mcdll -  Microsoft C     OS/2     -  using CXOS2.DLL
  14. echo ------------------------------------------------------------------
  15. echo When using a C compiler, you will probably need to alter this
  16. echo batch file to inform the compiler where the header and library
  17. echo files may be found.  When using a DLL, you may need to copy
  18. echo CXOS2.DLL to a directory where OS/2 searches for DLL's.
  19. echo ------------------------------------------------------------------
  20. goto :end
  21.  
  22. :MC
  23. cl -G2s -Owtizegl -c -AL -DCMPMC -DOS2 cxf.c
  24. link /NOD/PM:VIO cxf cx,,,os2 llibcep;
  25. goto :end
  26.  
  27. :MCDLL
  28. cl -G2s -Owtizegl -c -AL -DCMPMC -DOS2 cxf.c
  29. link /NOD/PM:VIO cxf,,,cxos2 os2 llibcep;
  30.  
  31. :end
  32.  
  33.